A SetPoint Button can be used to modify the current value, timestamp, and/or unreliable bit for a target point in either a templated or fully qualified point tag format.
This tool can be used in very simple scenarios to update a target point’s current value or in more complex scenarios where a process is initiated by virtue of changing a point’s value and the progress of that process is available for monitoring. An example of a complex use of this tool would be the triggering of an HSS script to run and then monitoring its progress. Another more complex use of the SetPoint Button tool would be to provide supervisory control over the processes managed by remote PLCs in a plant environment. In circumstances where there is no native driver communicating with plant devices, you can program a SetPoint Button to interact with a plant environment controlled by a PLC, via an OPCIS communicating with the plant's OPC server, which writes to the PLC’s registers. The PLC performs plant operations (for example: closing a valve, opening a gate, controlling a flow, updating a process, enabling alarm conditions), feedback passes through the PLC, and comes back into the CygNet point system.
See SetPoint Button Applications for more information about applications for the SetPoint Button.
All design-time configuration for the SetPoint Button tool is found under the [SetPoint] property on the tool's property sheet. Additionally, all properties of the SetPoint Button are exposed to the VBScript environment of CygNet Studio allowing them to be manipulated at runtime. The SetPoint Button contains a similar user interface to the UIS Command Button offering many of the same configuration features, plus other more sophisticated options, including:
The default button shape is a rectangular button. The ButtonShape property can be used to change the shape to an active tab or an inactive tab.
The face of the button can show a label or point attributes, and it can be configured to show a bitmap and point state (concurrently or independently). The object’s [DisplayItem] property determines the point attribute to be displayed. If this property is set to Text, the text listed in the Text property will be displayed. Use this configuration for a label. The Text property can contain both static and dynamic text. The dynamic portion of the string is built using one or more tokens. All other options in the [DisplayItem] property are point attributes. These attributes include point configuration attributes, point CVS record attributes, and facility attributes.
To show point attributes or the point state on the button face, the button must be associated with a point using the point identifier properties to form a fully qualified CygNet tag string. The point identifier properties are [1:SiteService], [2:Point ID], [3:Long Point ID], [4:Facility ID], and [5:UDC].
Note: If the button is on a templated screen, only use the [5:UDC] property.
The [AlarmElement] property can be set to show the point state color in the object’s Background Color, the Foreground Color, or not at all (None). When set to None, the color specified for each component is shown. If set to one of the other options, the component color is replaced with the point state color.
The [UseCustomStateColors] property enables the object to use its own custom point state colors. If set to 1 - Yes, the colors used are those defined by the object’s [CustomStateColors] property. If set to 0 - No, the colors are those defined by the TheView’s [CustomStateColors] property.
All standard CygNet security settings and user permission levels for point, facility, or service are in place for the SetPoint Button and its actions.
More:
Configuring the SetPoint Button Tool
Using the SetPoint Button Tool in Run Mode
SetPoint Button Tool - Selecting an Image
SetPoint Button Tool - Properties, Events, and Methods